{
	"definitions": [//Dyes: Black=0 Red =1 Green=2 Brown=3 Blue=4 Purple=5 UNU=6 Silver=7 Grey=8 Pink=9 Lime=10 Yellow=11 Light Blue=12 Magenta=13 Orange=14 White=15
		{
			"name": "§3UNU Arms Crate",
			"subName": "_desert",
			"extraMaterials": ["minecraft:dye:0:1", "minecraft:dye:11:3"]
		},
		{
			"name": "§3UNU Arms Crate",
			"subName": "_forrest",
			"extraMaterials": ["minecraft:dye:0:1", "minecraft:dye:2:3"]
		},
		{
			"name": "§3UNU Arms Crate",
			"subName": "_winter",
			"extraMaterials": ["minecraft:dye:8:1", "minecraft:dye:15:3"]
		}
	],

	"general": {
		"description": "Part# UP-SC-WM03",
		"stackSize": 4,
		"oreDict": "crateMilitary36",
		//"materials": ["minecraft:heavy_weighted_pressure_plate:0:4"] //Vanilla
		"materials": ["immersiveengineering:sheetmetal:8:1", "immersiveengineering:material:9:2"] //Immersive Engineering
	},

    "generic": {
		"type": "interactable_crate_triple",
		"width": 0.5,
		"height": 0.5,
        "canBeRemovedByHand": true,
		"movementAnimations": [
			{
				"animationType": "translation",
				"axis": [0, 0.25, 0],
				"variable": "unuisbest"
			}
		]
	},

    "interactable": {
        "interactionType": "crate",
		"feedsVehicles" : false,
        "inventoryUnits": 9
	},
		
	"subParts": [
		{
			"pos": [0, 0.5, 0],
			"types": ["interactable_crate_triple", "interactable_barrel_triple", "interactable_luggage"],
			"minValue": 0,
			"maxValue": 9,
			"interactableVariables": [["!part_present_2"], ["!part_present_3"], ["!part_present_4"], ["!part_present_5"], ["!part_present_6"]],
			"applyAfter": "$Crate"
		},
		{
			"pos": [0, 0.5, 0.375],
			"types": ["interactable_crate_double", "interactable_barrel_double", "interactable_luggage"],
			"minValue": 0,
			"maxValue": 6,
			"interactableVariables": [["!part_present_4"], ["!part_present_5"]],
			"applyAfter": "$Crate"
		},
		{
			"pos": [0, 0.5, -0.375],
			"types": ["interactable_crate_double", "interactable_barrel_double", "interactable_luggage"],
			"minValue": 0,
			"maxValue": 6,
			"interactableVariables": [["!part_present_5"], ["!part_present_6"]],
			"applyAfter": "$Crate"
		},
		{
			"pos": [0, 0.5, 0.75],
			"types": ["interactable_crate", "interactable_barrel", "interactable_luggage"],
			"minValue": 0,
			"maxValue": 5,
			"interactableVariables": [["!part_present_1"], ["!part_present_2"]],
			"applyAfter": "$Crate"
		},
		{
			"pos": [0, 0.5, 0],
			"types": ["interactable_crate", "interactable_barrel", "interactable_luggage"],
			"minValue": 0,
			"maxValue": 5,
			"interactableVariables": [["!part_present_1"], ["!part_present_2"], ["!part_present_3"]],
			"applyAfter": "$Crate"
		},
		{
			"pos": [0, 0.5, -0.75],
			"types": ["interactable_crate", "interactable_barrel", "interactable_luggage"],
			"minValue": 0,
			"maxValue": 5,
			"interactableVariables": [["!part_present_1"], ["!part_present_3"]],
			"applyAfter": "$Crate"
		}
	],

	"rendering": {
		"constants": ["unuisbest"],
		"animatedObjects": [
			{
				"objectName": "$Crate",
				"animations": [
					{
						"animationType": "translation",
						"axis": [0, -0.25, 0],
						"variable": "unuisbest"
					}
				]
			},
			{
				"objectName": "$Latch",
				"applyAfter": "$Crate",
				"animations": []
			},
			{
				"objectName": "$Lid",
				"applyAfter": "$Crate",
				"animations": []
			}
		]
	},
	
	"variableModifiers": [
		{
			"variable": "part_height",
			"animations": [
				{
					"animationType": "translation",
					"centerPoint": [0, 0, 0],
					"axis": [0, 0, 0.5],
					"variable": "unuisbest"
				}
			]
		}
	]
}
